package com.lzh.generate.entity.carbon;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.lzh.generate.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @Author luzhiheng
 * @Date 2023/11/23 10:32
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "emission_factor_bank", comment = "碳排放因子库")
public class EmissionFactorBank extends BaseEntity {

    /**
     * 开始日期 (StartDate)
     * 结束日期 (EndDate)
     * 状态 (Status: 草稿、已提交、已审核等)
     */

    @Column(name = "organization_id", type = MySqlTypeConstant.INT, comment = "原料类别")
    private String type;

    @Column(name = "factor", type = MySqlTypeConstant.DOUBLE, comment = "碳排放因子")
    private String factor;

    @Column(name = "report_content", type = MySqlTypeConstant.VARCHAR, comment = "低位发热量")
    private String reportContent;

    @Column(name = "start_date", type = MySqlTypeConstant.DATETIME, comment = "碳氧化率")
    private Date startDate;

    @Column(name = "end_date", type = MySqlTypeConstant.DATETIME, comment = "单位热值含碳量")
    private Date endDate;

}